var express = require('express');
var router = express.Router();
var db = require('../db/mysql')
var response = require('../response')

router.post('/', function (req, res, next) {
  let _foo = req.files.foo
  let path = `${_foo.name}`
  _foo.mv(`./static/upload/${path}`)
  response.success(res, path)
});
module.exports = router;